Release 10.1A: OpenEdge Development:
Programming Interfaces


Creating XML output from the 4GL

This section describes how to create XML output from the Progress 4GL.

To create an output XML document:

  1. Create an X-document object.
  2. Create an X-noderef object to represent your root node.
  3. Create an X-noderef object to represent nodes for your document.
  4. Create the root node and append it to the document.
  5. Create each specific node required.
  6. Append each node to its parent.
  7. Set node attributes.
  8. Steps 5 through 7 are iterative.
  9. Save the document as an XML file.
  10. Delete the objects.

Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095